package com.zzr.demo.redis.service;

/**
 * @author: xiaomi
 * @date: 2021/10/9
 * @description: 概率性分组计数器
 */
public interface ProbabilityGroupCountService {

    ThreadLocal<String> iptl = new ThreadLocal<>();

    void increase(String groupName, String itemName);

    long size(String groupName) throws InterruptedException;

    long size(String groupName, String itemName);

}
